﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WebPic.Sample.Comum;
using WebPic.Sample.Modelo.Entidades;

namespace WebPic.Sample.Modelo.Specifications {
    public static class FornecedorSpecifications {
        
        public static Specification<Fornecedor> NomeComecaCom(string nome)
        {
            return new Specification<Fornecedor>(f => f.Nome.StartsWith(nome));
        }
    }
}
